<%--
  Created by IntelliJ IDEA.
  User: 17126
  Date: 2022/4/11
  Time: 7:17
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>显示成绩</title>
</head>
<body>
<%
    String id = (String) session.getAttribute("id");
%>
<jsp:useBean id="grade" class="com.grade.Grade" scope="page"/>
<jsp:setProperty name="grade" property="*"/>
<jsp:setProperty name="grade" property="id" value="<%= id%>"/>
学号:
<jsp:getProperty name="grade" property="id"/>
<br>
<br>
数学成绩:
<jsp:getProperty name="grade" property="math"/>
<br>
英语成绩:
<jsp:getProperty name="grade" property="english"/>
<br>
语文成绩:
<jsp:getProperty name="grade" property="language"/>
<br>
平均成绩:
<jsp:getProperty name="grade" property="average"/>
</body>
</html>
